package org.hibernate.tutorial.hbm.multiplepk;

import java.util.Date;

public class Student {
	private StudentPK pk;
	private String name;
	private int age;
	private Date birthday;
	
	/**
	 * @return the pk
	 */
	public StudentPK getPk() {
		return pk;
	}
	/**
	 * @param pk the pk to set
	 */
	public void setPk(StudentPK pk) {
		this.pk = pk;
	}
	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the age
	 */
	public int getAge() {
		return age;
	}
	/**
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}
	

}
